package com.sun.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sun.entity.Log;
import com.sun.entity.User;
import org.springframework.transaction.annotation.Transactional;

/**
 * @Project: hospitalDrugInformationManagement
 * @Author: 86178
 * @Date: 2023/2/7 10:27
 * @FileName: UserService
 * @Description: ""
 */
@Transactional
public interface UserService extends IService<User> {
    User getUserByAccount(String username);

    User getUserByTel(String phone);

    String selcetUserName(Long id);

    Log userToLoginLog(User userBean, Log loginLog);
}
